package com.lpit.crawler;

import us.codecraft.webmagic.Page;
import us.codecraft.webmagic.Site;
import com.lpit.crawler.parse.ParseItem;
import us.codecraft.webmagic.processor.PageProcessor;

import java.util.List;

public abstract class AbstractDataProcess implements PageProcessor {

    public void handel() {

    }

    @Override
    public void process(Page page) {

    }

    public CrawlerEnum getComponentType() {
        return null;
    }

    public abstract List<ParseItem> parseRequestData(ProcessFlowData processFlowData);

    @Override
    public Site getSite() {
        return null;
    }
}
